package ru.silviasaint.fridge.server.servlet;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.servlet.GuiceServletContextListener;

/**
 * Created by Dmitry.
 * User: jetblack20
 * Date: 4/5/12
 * Time: 11:13 PM
 */
public class AppContextListener extends GuiceServletContextListener{
    @Override
    protected Injector getInjector() {
        return Guice.createInjector(new AppDispatchModule(), new DispathServletModule());
    }
}
